<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>


<script src="fingerprint2.min.js"></script>
<script>
if (window.requestIdleCallback) {
    requestIdleCallback(function () {
        Fingerprint2.get(function (components) {
          console.log(components) // an array of components: {key: ..., value: ...}
		  var values = components.map( component => component.value);
		  var murmur = Fingerprint2.x64hash128(values.join(''),31);
		  console.log(murmur);
		  document.write("murmur:"+murmur);
		  document.write("<Br>values:"+values);
        })
    })
} else {
    setTimeout(function () {
        Fingerprint2.get(function (components) {
          console.log(components) // an array of components: {key: ..., value: ...}
        })  
    }, 500)
}
</script>
</body>
</html>
